package org.forum.service.impl;

import java.util.List;

import org.forum.dao.ViceTopicDao;
import org.forum.domain.ViceTopic;
import org.forum.service.ViceTopicService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ViceTopicServiceImpl implements ViceTopicService{
	
	Logger logger = LoggerFactory.getLogger(ViceTopicServiceImpl.class);
	
	private ViceTopicDao viceTopicDao;

	public void setViceTopicDao(ViceTopicDao viceTopicDao) {
		this.viceTopicDao = viceTopicDao;
	}

	@Override
	public List<ViceTopic> getViceTopicsByMainTopicId(int mainTopicId, int pageNo_4, int pageSize) {
		return viceTopicDao.getViceTopicByMainTopicId(mainTopicId, pageNo_4, pageSize);
	}
	

}
